package com.ikun.admin.modules.sys.vo;

import com.ikun.common.validate.anno.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName DictAddOrUpdateVo
 * @Description:
 * @CreateDate: 2024/7/17 16:27
 */
@Data
@ApiModel("字典通用返回vo")
public class DictCommonResultVo {

    private Long id;

    @ApiModelProperty("分组标记")
    @NotNull(message = "所属分组不能为空")
    private String cluster;

    @ApiModelProperty("字典标签")
    @NotNull(message = "字典标签不能为空")
    private String label;

    @ApiModelProperty("字典值")
    @NotNull(message = "字典值不能为空")
    private Integer value;

    @ApiModelProperty("字典备注")
    @NotNull(message = "字典备注不能为空")
    private String remark;

}
